﻿using QuikGraph;

namespace KinonekoSoftware.CodariaDB.Documents.Impressions
{
    [Notion]
    public sealed class ImpressionBundle : RootObject, IEdge<Impression>
    {
        private string _name;

        public Impression Source { get; init; }
        public Impression Target { get; init; }

        /// <summary>
        /// 获取或设置 <see cref="Name"/> 属性。
        /// </summary>
        public string Name
        {
            get => _name;
            set => SetValue(ref _name, value);
        }
    }
}